package com.whxd.system.user.web;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.Length;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.whxd.framework.common.json.CustomDateSerializer;
import com.whxd.framework.common.json.CustomDateTimeSerializer;

/**
 * 用户Dto
 * 
 * @author 张世鹏
 * @since 2015-1-30
 */
public class UserDto implements Serializable {

	private static final long serialVersionUID = -318646048484425153L;

	private Long id;// 某个用户在当前应用的id，应用内唯一

	private String casId;// 整个cas生态圈的用户id，生态圈唯一

	private String username;

	private String pic;

	private Boolean enabled = true;

	private String sex;

	private String email;

	private String address;

	private Integer age;

	private String realName;

	private String mobile;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCasId() {
		return casId;
	}

	public void setCasId(String casId) {
		this.casId = casId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

}
